package com.swpu.project.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author swpuyanxiegroup1
 * @since 2024-07-29
 */

@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("data_standard")
public class Standard implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 国标id
     */
    @TableId(value = "standard_id", type = IdType.AUTO)
    private String standardId;

    /**
     * 国标名
     */
    private String standardName;

    /**
     * 是否启用
     */
    @TableField("isUsed")
    private Boolean isUsed;

    /**
     * 备注
     */
    private String standardNotes;

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public  String getStandardId() {
        return standardId;
    }

    public void setStandardId(String standardId) {
        this.standardId = standardId;
    }

    public String getStandardName() {
        return standardName;
    }

    public void setStandardName(String standardName) {
        this.standardName = standardName;
    }

    public Boolean getUsed() {
        return isUsed;
    }

    public void setUsed(Boolean used) {
        isUsed = used;
    }

    public String getStandardNotes() {
        return standardNotes;
    }

    public void setStandardNotes(String standardNotes) {
        this.standardNotes = standardNotes;
    }
}
